<h1>Registration</h1>

<div class="tracker-form">

  <%= error_messages_for 'user' %>

  <fieldset>
    <legend>Enter User Details</legend>

    <% form_for :user do |form| %>
      <p>
        <label for="user_login">Login:</label>
        <%= form.text_field :login, :size => 20 %>
      </p>

      <p>
        <label for="user_first_name">First Name:</label>
        <%= form.text_field :first_name, :size => 40 %>
      </p>

      <p>
        <label for="user_last_name">Last Name:</label>
        <%= form.text_field :last_name, :size => 40 %>
      </p>

      <p>
        <label for="user_email">E-mail:</label>
        <%= form.text_field :email, :size => 40 %>
      </p>

      <p>
        <label for="user_password">Password:</label>
        <%= form.password_field :password, :size => 40 %>
      </p>

      <p>
        <label for="user_password_confirmation">Confirm:</label>
        <%= form.password_field :password_confirmation, :size => 40 %>
      </p>

      <%= submit_tag "Register", :class => "submit" %>
    
    <% end %>  
  </fieldset>
</div>
